<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>设备组管理</title>
	<meta name="decorator" content="nblank"/>
</head>
<body>
<div class="content container">
	<h2 class="page-title">设备组管理<small>&nbsp设备组列表</small></h2>
	<section class="widget widget-tabs widget-table-overflow ">
		<header>
			<ul class="nav nav-tabs">
				<li class="active"><a href="javascript:;">设备组列表</a></li>
				<li><a href="${ctx}/biz/equgroup/form">设备组添加</a></li>
			</ul>
		</header>
		<%--<biz:message content="${message}"/>--%>
		<div class="body tab-content">
			<table id="contentTable" class="table table-striped table-condensed">
				<tr>
					<%--<th>ID</th>--%>
					<th>组名称</th>
					<th>类型</th>
					<th>所属设备</th>
					<th>操作</th>
				</tr>
				<c:forEach items="${list}" var="group">
					<tr>
						<%--<td>${group.id}</td>--%>
						<td>${group.name}</td>
                        <td>${fns:getDictLabels(group.type, "station_group_type", "")}</td>
                        <td><a href="${ctx}/biz/equgrpitem/list?group.id=${group.id}">设备</a></td>
						<td>
							<a href="${ctx}/biz/equgroup/form?id=${group.id}">修改</a>
							<a href="${ctx}/biz/equgroup/delete?id=${group.id}" class="no-pjax" onclick="confirmx('确认要删除该设备组吗？', this.href);return false;">删除</a>
						</td>
					</tr>
				</c:forEach>
			</ table>
		</div>
	</section>
</div>
</body>
</html>